char strMySystemFile[255];


int WriteToFile(char * strFileSection, char * strKey, char * strValue)
{
	//if ((strlen(strKey) > MAX_PATH) | (strlen(strValue) > MAX_PATH))
	//	return -1;

	return WritePrivateProfileString(strFileSection, strKey, strValue, strMySystemFile);
}

int ReadFromFile(char * strFileSection, char * strKey, char * strOutput)
{
	return GetPrivateProfileString(strFileSection, strKey, NULL, strOutput, MAX_PATH, strMySystemFile);
}